import java.util.Arrays;
import java.util.PriorityQueue;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Admin
 * Date: 2022-05-25
 * Time: 11:12
 */
public class Main {
    public static void main(String[] args) {
        TestHeap testHeap = new TestHeap();
        int[] array = { 27,15,19,18,28,34,65,49,25,37};
        testHeap.createHeap(array);
        testHeap.heapSort();
        System.out.println(Arrays.toString(testHeap.elem));
    }
}
